﻿using Microsoft.Extensions.Configuration;

namespace MiniFox.Platform.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public class VerifySetting
    {
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("path")]
        public string Path
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("enabled")]
        public bool Enabled
        {
            get;
            set;
        } = true;
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("async")]
        public bool Async
        {
            get;
            set;
        } = true;
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("retryTimes")]
        public int RetryTimes
        {
            get;
            set;
        } = 3;
    }
}
